<div class="zui-pageContent">
    <div id="grid" data-toggle="grid"
        data-options="{
				rownumbers: true,
                checkbox: true,
                columns: [{ label: '主键', type: 'int', name: 'ProductID', totalSummary:
                    {
                        type: 'count'
                    }
                },
                { label: '产品名', name: 'ProductName', align: 'left', width: 200 },
                { label: '单价', name: 'UnitPrice', align: 'right',type: 'float',
                    totalSummary:
                    {
                        render: function (suminf, column, cell)
                        {
                            return '<div>最大值:' + suminf.max + '</div>';
                        },
                        align: 'left'
                    }
                },
                { label: '仓库数量', name: 'UnitsInStock', align: 'right', type: 'int',
                    totalSummary:
                    {
                        type: 'sum'
                    }
                }],
				pageSize:30,
                dataUrl:'Public/static/zui/demo/grid/TotalData.js',
        }"
        >
    </div>
</div>